package com.KKd.log;

import org.springframework.aop.MethodBeforeAdvice;

import java.lang.reflect.Method;

/**
 * @author 14587
 * @date 2020/11/3 9:04
 */
public class Log implements MethodBeforeAdvice {
    public void before(Method method, Object[] objects, Object o) throws Throwable {
        System.out.println(method.getClass().getName()+"的"+method.getName()+"方法执行了");
    }
}
